package com.robotic.sensor.domain;

public class GasSensorData {

    private final String status;
    private final double concentration;
    private final long timestamp;

    public GasSensorData(String status, double concentration, long timestamp) {
        this.status = status;
        this.concentration = concentration;
        this.timestamp = timestamp;
    }

    public String getStatus() {
        return status;
    }

    public double getConcentration() {
        return concentration;
    }

    public long getTimestamp() {
        return timestamp;
    }

    @Override
    public String toString() {
        return "GasSensorData{" +
                "status='" + status + '\'' +
                ", concentration=" + concentration +
                ", timestamp=" + timestamp +
                '}';
    }
}
